package Message.Game
{
	import Framework.Serialize.*;
	import Message.Public.*;
	
	public class SLoginGameReturn extends Object
	{
		public var entityId:SEntityId;
		public var player:SPlayer;
		public var role:SRole;
		public var baseFight:SFightAttribute;
		public var money:SMoney;
		public var pos:SPos;
		public var sesionKey:SSessionKey;
		public var sysDt:Date;
		
		public function SLoginGameReturn()
		{
			
		}
		
		public function __write(param1:SerializeStream) : void
		{
			this.entityId.__write(param1);
			this.player.__write(param1);
			this.role.__write(param1);
			this.baseFight.__write(param1);
			this.money.__write(param1);
			this.pos.__write(param1);
			this.sesionKey.__write(param1);
			param1.writeDate(this.sysDt);
			
		}
		
		public function __read(param1:SerializeStream) : void
		{
			this.entityId = new SEntityId();
			this.entityId.__read(param1);
			this.player = new SPlayer();
			this.player.__read(param1);
			this.role = new SRole();
			this.role.__read(param1);
			this.baseFight = new SFightAttribute();
			this.baseFight.__read(param1);
			this.money = new SMoney();
			this.money.__read(param1);
			this.pos = new SPos();
			this.pos.__read(param1);
			this.sesionKey = new SSessionKey();
			this.sesionKey.__read(param1);
			this.sysDt = param1.readDate();
			
		}
		
	}
}
